package cn.cdeden.knowledge.api.domain;


import cn.cdeden.common.core.utils.page.TableDataInfo;
import cn.cdeden.knowledge.api.domain.dto.RemoteResourceQueryParam;
import cn.cdeden.knowledge.api.domain.vo.RemoteResourceTypeVo;
import cn.cdeden.knowledge.api.domain.vo.RemoteResourceVo;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Set;

public interface RemoteResourceTypeService {
    List<RemoteResourceTypeVo> getAll();

    List<RemoteResourceTypeVo> getByName(RemoteResourceTypeVo sysResourceType);

    List<RemoteResourceTypeVo> getByNameAndId(RemoteResourceTypeVo sysResourceType);

    boolean save(RemoteResourceTypeVo sysResourceType);

    RemoteResourceTypeVo getById(Integer id);

    boolean updateById(RemoteResourceTypeVo sysResourceType);

    boolean removeById(Integer resourceTypeId);
}
